package com.android.huimeiqupin.model.group;

import com.android.huimeiqupin.utils.ConstantsUrl;
import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/6/16.
 */

public class ThematicAGoodsData {

    private String flag;
    private int code;
    private String msg;
    private ThematicAGoodsData.DataBean data;
    private int time;



    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }


    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private int list_total;
        private String id;
        private int type;

        public int getList_total() {
            return list_total;
        }

        public void setList_total(int list_total) {
            this.list_total = list_total;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        private ThematicAGoodsData.DataBean.TopicDateBean topic;
        private  List<ThematicAGoodsData.DataBean.Cat_listDataBean> cat_list;
        private  List<ThematicAGoodsData.DataBean.ListDataBean> list;

        public TopicDateBean getTopic() {
            return topic;
        }

        public void setTopic(TopicDateBean topic) {
            this.topic = topic;
        }

        public List<Cat_listDataBean> getCat_list() {
            return cat_list;
        }

        public void setCat_list(List<Cat_listDataBean> cat_list) {
            this.cat_list = cat_list;
        }

        public List<ListDataBean> getList() {
            return list;
        }

        public void setList(List<ListDataBean> list) {
            this.list = list;
        }

        public static class TopicDateBean {
            private String id;
            private String type;
            private String typeid;
            private String name;
            private String apply_stime;
            private String apply_etime;
            private String start_time;
            private String end_time;
            private String status;
            private String thumb;
            private List<String> thumbs;
            private String catid;
            private String listorder;
            private String  posid;
            public String getApply_etime() {
                return apply_etime;
            }

            public void setApply_etime(String apply_etime) {
                this.apply_etime = apply_etime;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getTypeid() {
                return typeid;
            }

            public void setTypeid(String typeid) {
                this.typeid = typeid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getApply_stime() {
                return apply_stime;
            }

            public void setApply_stime(String apply_stime) {
                this.apply_stime = apply_stime;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getStart_time() {
                return start_time;
            }

            public void setStart_time(String start_time) {
                this.start_time = start_time;
            }

            public String getEnd_time() {
                return end_time;
            }

            public void setEnd_time(String end_time) {
                this.end_time = end_time;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public List<String> getThumbs() {
                return thumbs;
            }

            public void setThumbs(List<String> thumbs) {
                this.thumbs = thumbs;
            }

            public String getCatid() {
                return catid;
            }

            public void setCatid(String catid) {
                this.catid = catid;
            }

            public String getListorder() {
                return listorder;
            }

            public void setListorder(String listorder) {
                this.listorder = listorder;
            }

            public String getPosid() {
                return posid;
            }

            public void setPosid(String posid) {
                this.posid = posid;
            }
        }

        public static class Cat_listDataBean {
            public  Cat_listDataBean(String id ,String name)
            {
                this.id = id;
                this.catname =name;

            }
            private String id;
            private String catname;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCatname() {
                return catname;
            }

            public void setCatname(String catname) {
                this.catname = catname;
            }
        }

        public static class ListDataBean implements MultiItemEntity {


            @Override
            public int getItemType() {
                return ConstantsUrl.THEMATICGOODSLISTItemTYPE;
            }

            private String id;
            private String act_id;
            private String goods_id;
            private String cid;
            private String c_time;
            private String u_time;
            private String status;
            private String remark;
            private String listorder;
            private String sid;
            private String name;
            private String thumb;
            private String thumbs;
            private String price;
            private String team_price;
            private String team_num;
            private int sell;
            private String sales_num;
            private String sell_num;
            private String img_src;
            private String img_cover;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getAct_id() {
                return act_id;
            }

            public void setAct_id(String act_id) {
                this.act_id = act_id;
            }

            public String getGoods_id() {
                return goods_id;
            }

            public void setGoods_id(String goods_id) {
                this.goods_id = goods_id;
            }

            public String getListorder() {
                return listorder;
            }

            public void setListorder(String listorder) {
                this.listorder = listorder;
            }

            public String getCid() {
                return cid;
            }

            public void setCid(String cid) {
                this.cid = cid;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getC_time() {
                return c_time;
            }

            public void setC_time(String c_time) {
                this.c_time = c_time;
            }

            public String getU_time() {
                return u_time;
            }

            public void setU_time(String u_time) {
                this.u_time = u_time;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getSid() {
                return sid;
            }

            public void setSid(String sid) {
                this.sid = sid;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getThumbs() {
                return thumbs;
            }

            public void setThumbs(String thumbs) {
                this.thumbs = thumbs;
            }

            public String getTeam_price() {
                return team_price;
            }

            public void setTeam_price(String team_price) {
                this.team_price = team_price;
            }

            public String getTeam_num() {
                return team_num;
            }

            public void setTeam_num(String team_num) {
                this.team_num = team_num;
            }

            public String getImg_src() {
                return img_src;
            }

            public void setImg_src(String img_src) {
                this.img_src = img_src;
            }

            public String getImg_cover() {
                return img_cover;
            }

            public void setImg_cover(String img_cover) {
                this.img_cover = img_cover;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public int getSell() {
                return sell;
            }

            public void setSell(int sell) {
                this.sell = sell;
            }

            public String getSales_num() {
                return sales_num;
            }

            public void setSales_num(String sales_num) {
                this.sales_num = sales_num;
            }

            public String getSell_num() {
                return sell_num;
            }

            public void setSell_num(String sell_num) {
                this.sell_num = sell_num;
            }
        }
    }
}
